package org.brisling.supply.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
 * <p>Title: SupplyDonation</p>
 * <p>Description: 供应商捐赠管理实体类</p>
 * <p>Company: tongking</p> 
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年6月1日 下午10:20:36
 */
@Entity
@Table(name=ConstSysParam.MODULE_SUPPLY_DONATION)
public class SupplyDonation extends BaseDomain implements BaseDomainInf{

	
	/**
	 * 供应商id及名称
	 */
	private Long supply_id;
	
	private String supply_name;

	public Long getSupply_id() {
		return supply_id;
	}


	public void setSupply_id(Long supply_id) {
		this.supply_id = supply_id;
	}


	public String getSupply_name() {
		return supply_name;
	}


	public void setSupply_name(String supply_name) {
		this.supply_name = supply_name;
	}
	
	//捐赠事项
	private String donation_item;

	//接受科室 
	private String accept_depart;

	//接受时间 
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date accept_time;

	//设备名称 
	private String device_name;

	//设备规格 
	private String device_standard;

	//设备数量 
	private Long device_number;

	//设备单价 
	private String device_price;

	//协议 
	private String agreement;

	//会议纪要 
	private String meeting;

	public String getDonation_item() {
		return donation_item;
	}


	public void setDonation_item(String donation_item) {
		this.donation_item = donation_item;
	}


	public String getAccept_depart() {
		return accept_depart;
	}


	public void setAccept_depart(String accept_depart) {
		this.accept_depart = accept_depart;
	}


	public Date getAccept_time() {
		return accept_time;
	}


	public void setAccept_time(Date accept_time) {
		this.accept_time = accept_time;
	}


	public String getDevice_name() {
		return device_name;
	}


	public void setDevice_name(String device_name) {
		this.device_name = device_name;
	}


	public String getDevice_standard() {
		return device_standard;
	}


	public void setDevice_standard(String device_standard) {
		this.device_standard = device_standard;
	}


	public Long getDevice_number() {
		return device_number;
	}


	public void setDevice_number(Long device_number) {
		this.device_number = device_number;
	}


	public String getDevice_price() {
		return device_price;
	}


	public void setDevice_price(String device_price) {
		this.device_price = device_price;
	}


	public String getAgreement() {
		return agreement;
	}


	public void setAgreement(String agreement) {
		this.agreement = agreement;
	}


	public String getMeeting() {
		return meeting;
	}


	public void setMeeting(String meeting) {
		this.meeting = meeting;
	}
}
